package com.demo.config;

import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration//表示该类是一个配置类
@EnableAspectJAutoProxy(exposeProxy = true)//开启AOP
@ServletComponentScan("com.demo.filter")//使过滤器生效
public class MyConfig {

}
